projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12837f6
)
flowbox: Compute view box from correct variables
author
Benjamin Otte
<otte@redhat.com>
Fri, 10 Nov 2017 14:33:24 +0000
(15:33 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 11 Nov 2017 01:49:08 +0000
(
02:49
+0100)
gtk/gtkflowbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkflowbox.c
b/gtk/gtkflowbox.c
index cdd4cb8756b835be3d4941cc9b3f497ed01001f0..1fbdca0946e87753a2338fc2b9b1d0a610fa83a2 100644
(file)
--- a/
gtk/gtkflowbox.c
+++ b/
gtk/gtkflowbox.c
@@
-2545,8
+2545,8
@@
get_view_rect (GtkFlowBox *box,
{
rect->x = gtk_adjustment_get_value (priv->hadjustment);
rect->y = gtk_adjustment_get_value (priv->vadjustment);
- rect->width = gtk_widget_get_
allocated_
width (parent);
- rect->height = gtk_widget_get_
allocated_
height (parent);
+ rect->width = gtk_widget_get_width (parent);
+ rect->height = gtk_widget_get_height (parent);
return TRUE;
}